#ifndef					__APINETWORK_H__
#define					__APINETWORK_H__

#include				"packet.h"

class					Network;

class					ApiNetwork
{
public:
	ApiNetwork(Network *);
	~ApiNetwork();

private:
	Network				*_manager;

public:
	void				send(Packet*, unsigned int);
	unsigned int		getId(std::string);
	std::string			getIp(unsigned int);
	bool				isOpen(unsigned int);
	void				closeSocket(unsigned int);
};


#endif // !__APINETWORK_H__
